package com.hxtec.polaris.repository;

import com.hxtec.polaris.model.ShopUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * @Author Marcus lv
 * @create 2019/11/28 5:56 下午
 */
@Repository
public interface UserRepository extends JpaRepository<ShopUserEntity, Integer> {
    Optional<ShopUserEntity> findByWxId(String var1);
    Optional<ShopUserEntity> findByMobile(String var1);
}
